#ifndef ADDYIPING_H
#define ADDYIPING_H

#include <QObject>
#include<QProcess>
#include<QTimer>

class addyiping : public QObject
{
    Q_OBJECT
public:
    explicit addyiping(QObject *parent = nullptr);
    //添加音频
    void Addyinping(QString shipingfile,QString yinpingfile,QString outfile);//线程函数
    //视频拼接
    void video_stitch(QString shiping_1,QString shiping_2,QString outfile);


signals:
    void signal_addyinping_over();
    void signal_outtext(QString str);
private slots:

    void on_readoutput();
    void on_readerror();
    void handle_start();


private:
     QProcess process;

     QString shiping_1,shiping_2,outfile;


};

#endif // ADDYIPING_H
